//package com.lsh.task;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Component;
//
//import java.time.LocalDateTime;
//import java.time.format.DateTimeFormatter;
//
///**
// * @author ：LiuShihao
// * @date ：Created in 2020/8/24 4:53 下午
// * @desc ：
// */
//@Component
//public class DynamicPrintTask2 implements ScheduledOfTask {
//    private Logger logger = LoggerFactory.getLogger(getClass());
//    private int i;
//    @Override
//    public void execute() {
//        System.out.println("定时任务2："+ LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy年MM月dd日 HH时mm分ss秒")));
//    }
//
//}